package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据标签管理对象 data_tag
 * 
 * @author ruoyi
 * @date 2025-03-22
 */
public class DataTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据标签表ID */
    @Excel(name = "数据标签表ID")
    private Long dataTagId;

    /** 文档数据表ID */
    @Excel(name = "文档数据表ID")
    private Long dataId;

    /** 标签表ID */
    @Excel(name = "标签表ID")
    private Long tagId;

    public void setDataTagId(Long dataTagId) 
    {
        this.dataTagId = dataTagId;
    }

    public Long getDataTagId() 
    {
        return dataTagId;
    }

    public void setDataId(Long dataId) 
    {
        this.dataId = dataId;
    }

    public Long getDataId() 
    {
        return dataId;
    }

    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dataTagId", getDataTagId())
            .append("dataId", getDataId())
            .append("tagId", getTagId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
